package com.mop.springcloud.corebase.bean;

import java.util.Date;
import java.util.Map;

/**
 * Class Name: NotifyInfo
 * Create Date: 18-3-15 下午3:23
 * Creator: Chim·Zigui
 * Version: v1.0
 * Updater:
 * Date Time:
 * Description:
 */
public class NotifyData {

    private String title = null;
    private Date time = null;
    private String subTitle = null;
    private Map<String, Object> commonData = null;

    public NotifyData(String title) {
        this.time = new Date();
    }

    public NotifyData(String title, String subTitle) {
        this(title);
        this.subTitle = subTitle;
    }

    public NotifyData(String title, Map<String, Object> commonData) {
        this(title);
        this.commonData = commonData;
    }

    public NotifyData(String title, String subTitle, Map<String, Object> commonData) {
        this(title, subTitle);
        this.commonData = commonData;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public Map<String, Object> getCommonData() {
        return commonData;
    }

    public void setCommonData(Map<String, Object> commonData) {
        this.commonData = commonData;
    }
}
